package com.gugee.tiktok.web.repository;

import com.gugee.tiktok.web.model.mysql.BloggerType;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BloggerTypeRepository extends CrudRepository<BloggerType,Long> {

    BloggerType getById(long id);

    List<BloggerType> getBloggerTypeByIsDisplayOrderBySortAsc(boolean isDisplay);

}
